package de.hci.mid.socialmap.entities;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

/**
 * @author Dome
 * Entiy-Class to save Bitmap Arraylist into Database
 */
/**
 * @author Dome
 * 
 */
@Entity
@Table(name = "IMAGES")
public class ImageHolder implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	@Lob
	private String jsonImages;

	public ImageHolder() {

	}

	/**
	 * @param id
	 * @param jsonImages
	 */
	public ImageHolder(int id, String jsonImages) {
		this.id = id;
		this.jsonImages = jsonImages;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getJsonImages() {
		return jsonImages;
	}

	public void setJsonImages(String jsonImages) {
		this.jsonImages = jsonImages;
	}

}
